package com.squirrel.michale;

import java.io.FileOutputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicReference;

/**
 * @author guanhao 观浩
 * @version v1.0.0.0
 * @createTime 2023/4/17 7:37
 * @company Michale Squirrel
 * @link
 * @description
 */
public class Java2 {


    public static void main(String[] args) {
        test1();

        List<Number> numList = new ArrayList();

        List<Integer> intList = new ArrayList();


        numList.add(0);
        numList.add(1L);
        numList.add(5f);

        intList.add(0);
        intList.add(5);
        intList.add(8);

//        numList = intList;
    }

    private static void test1() {
        int count1 = 0;
        for (int rowNum = 0; rowNum < 3; rowNum++) {
            for (int colNum = 0; colNum < 4; colNum++) {
                if (colNum % 2 == 1) {
                    continue;
                }
                count1++;
            }
        }
        int count2 = 0;
        for (int rowNum = 0; rowNum < 3; rowNum++) {
            for (int colNum = 0; colNum < 4; colNum++) {
                if (colNum % 2 == 1) {
                    break;
                }
                count2++;
            }
        }
        System.out.println(count1 + "," + count2);
    }


    //    @Documented
//    @Override
//    @Deprecated
//    @SuppressWarnings()
    public void test() {

        AtomicReference atomicReference = new AtomicReference();

//        FileOutputStream fileOutputStream = new FileOutputStream("D:test.txt");

//        Pattern.CASE_INSENSITIVE

        Thread thread = new Thread();
        thread.interrupt();


    }




}
